<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<!--<div id="app">
			<button v-on:click="showSome">click me</button>
		</div>-->
		<!--<div id="app">
			<button v-on:click="showSome($event)">click me</button>
		</div>-->
		
		<!--<div id="app">
			<div v-on:click="showsome($event)">
				<button v-on:click.stop="showSome($event)">click me</button>
			</div>
		</div>-->
		
		<div id="app">
			<a href="https://www.baidu.com" v-on:click.prevent="showSome($event)">clickme</a>
		</div>
		
		
		<script type="text/javascript">
			new Vue({
				el : "#app",
				methods : {
					showSome :function(event){
						alert("showSome");
					}
				}
			})
		</script>
	</body>
</html>
